package com.showcai.service;

import com.github.pagehelper.PageInfo;
import com.showcai.module.Media;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-8-15.
 */
public interface MediaService {
    PageInfo getMediaList(Map<String, String> map) throws MyRunTimeExcption;

    List<Media> selectMediaListBydevicId(String deviceId) throws MyRunTimeExcption;

    List<Media> selectMediaList(Map<String, String> map) throws MyRunTimeExcption;
    Media getMediaById(Long id) throws MyRunTimeExcption;

    void modifyMedia(Media media) throws MyRunTimeExcption;

    Media pushMediaById(Long id, String devicId, String memberId) throws MyRunTimeExcption;
}
